package com.api.shopapi.service;

import com.api.shopapi.entity.NursingSchedulingNighttimeItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NursingSchedulingNighttimeItemService {

    int insert(NursingSchedulingNighttimeItem nurseSchedulingNighttimeItem);

    int updateByNurseSchedulingNighttimeItemCode(NursingSchedulingNighttimeItem nurseSchedulingNighttimeItem);

    int deleteByNurseSchedulingNighttimeItemCode(String nurseSchedulingNighttimeItemCode);

    NursingSchedulingNighttimeItem getByNursingSchedulingNightTimeItemCode(String nurseSchedulingNighttimeItemCode);

    List<NursingSchedulingNighttimeItem> getByNursingSchedulingNightTimeCode(String nursingSchedulingNighttimeCode);

    int deleteByNurseSchedulingNighttimeCode(String nursingSchedulingNighttimeCode);

    NursingSchedulingNighttimeItem getByNursingSchedulingNightTimeCodeAndNurseAideCode(String nursingSchedulingNighttimeCode, String nurseAideCode);

    NursingSchedulingNighttimeItem getByNursingSchedulingNightTimeCodeAndNurseCode(String nursingSchedulingNighttimeCode, String nurseCode);
}
